// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android.lang;

import android.content.Context;
import android.content.res.Resources;

public final class Resource
{

    private static final int a(Context context, String s, String s1)
    {
        Context context1 = context;
        if(a == null)
            a = context1.getResources();
        context1 = context;
        if(b == null)
            b = context1.getPackageName();
        return a.getIdentifier(s, s1, b);
    }

    public static final int a(Context context, String s)
    {
        return a(context, s, "string");
    }

    public static final int b(Context context, String s)
    {
        return a(context, s, "bool");
    }

    public static final int c(Context context, String s)
    {
        return a(context, s, "drawable");
    }

    public static final int d(Context context, String s)
    {
        return a(context, s, "id");
    }

    public static final int e(Context context, String s)
    {
        return a(context, s, "layout");
    }

    public static final int f(Context context, String s)
    {
        return a(context, s, "menu");
    }

    public static final int g(Context context, String s)
    {
        return a(context, s, "style");
    }

    private static Resources a = null;
    private static String b = null;

}
